﻿#region

using System.Security.Principal;

#endregion

namespace HouseHoldBudget.Core.Authentication
{
    public class UserPrincipal : IPrincipal
    {
        #region Constructors

        public UserPrincipal(IIdentity user)
        {
            Identity = user;
        }

        #endregion

        #region IPrincipal Members

        public IIdentity Identity { get; private set; }

        public bool IsInRole(string role)
        {
            return true;
        }

        #endregion
    }
}